import request from '@/axios/request'

// 6.1 户型图查看-楼盘列表
export function getBuildingPic(data) {
	return request({
		url: '/zhixuan/api/v1/building/allBuildingPic',
		method: 'POST',
		data
	})
}
// 6.2 户型图列表
export function buildingPic(data) {
	return request({
		url: '/zhixuan/api/v1/building/buildingPic',
		method: 'POST',
		data
	})
}
// 6.3 开发商名录
export function getDeveloperList(data) {
	return request({
		url: '/zhixuan/api/v1/developer/getDeveloperList',
		method: 'post',
		data
	})
}
// 6.4 获取用户消息列表
export function messageList(data) {
	return request({
		url: '/zhixuan/api/v1/message/find',
		method: 'post',
		data
	})
}
// 6.5 获取开发商账户楼盘
export function getDeveloperBuilding(params) {
	return request({
		url: '/zhixuan/api/v1/company/developer/building',
		method: 'get',
		params
	})
}
// 6.6 获取用户消息详情
export function messageget(data) {
	return request({
		url: '/zhixuan/api/v1/message/get',
		method: 'POST',
		data
	})
}
// 6.7 获取用户消息数量
export function messageCount(params) {
	return request({
		url: '/zhixuan/api/v1/message/count',
		method: 'get',
		params
	})
}
// 6.8 删除用户消息
export function deleteMessage(data) {
	return request({
		url: '/zhixuan/api/v1/message/delete',
		method: 'POST',
		data
	})
}
